package org.jeecg.modules.demo.crm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 项目数据看板
 * @Author: jeecg-boot
 * @Date:   2025-08-19
 * @Version: V1.0
 */
@Data
@TableName("c_project_price")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="c_project_price对象", description="项目数据看板")
public class CProjectPrice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**项目id*/
	@Excel(name = "项目id", width = 15, dictTable = "c_project_application", dicText = "project_name", dicCode = "id")
	@Dict(dictTable = "c_project_application", dicText = "project_name", dicCode = "id")
    @ApiModelProperty(value = "项目id")
    private String projectId;
	/**收款状态*/
	@Excel(name = "收款状态", width = 15)
    @ApiModelProperty(value = "收款状态")
    private String paymentStatus;
	/**年份*/
	@Excel(name = "年份", width = 15)
    @ApiModelProperty(value = "年份")
    private String years;
	/**项目编码*/
	@Excel(name = "项目编码", width = 15)
    @ApiModelProperty(value = "项目编码")
    private String projectCode;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    private String contractNo;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;
	/**含税价*/
	@Excel(name = "含税价", width = 15)
    @ApiModelProperty(value = "含税价")
    private BigDecimal taxincludingPrice;
	/**合同金额(不含税)*/
	@Excel(name = "合同金额(不含税)", width = 15)
    @ApiModelProperty(value = "合同金额(不含税)")
    private BigDecimal contractAmount;
	/**未收款金额*/
	@Excel(name = "未收款金额", width = 15)
    @ApiModelProperty(value = "未收款金额")
    private BigDecimal uncollectedPayment;
	/**未开票金额*/
	@Excel(name = "未开票金额", width = 15)
    @ApiModelProperty(value = "未开票金额")
    private BigDecimal uninvoicedAmount;
	/**收款日期*/
	@Excel(name = "收款日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "收款日期")
    private Date paymentRecord;
	/**发票信息*/
	@Excel(name = "发票信息", width = 15)
    @ApiModelProperty(value = "发票信息")
    private String invoiceInformation;
	/**质保金*/
	@Excel(name = "质保金", width = 15)
    @ApiModelProperty(value = "质保金")
    private BigDecimal deposit;
	/**主项目报价*/
	@Excel(name = "主项目报价", width = 15, dictTable = "c_project_head_quotes", dicText = "title", dicCode = "id")
	@Dict(dictTable = "c_project_head_quotes", dicText = "title", dicCode = "id")
    @ApiModelProperty(value = "主项目报价")
    private String projectHeadQuotesId;
	/**库*/
	@Excel(name = "库", width = 15, dictTable = "c_library", dicText = "name", dicCode = "id")
	@Dict(dictTable = "c_library", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库")
    private String libraryId;
}
